import './assets/main.css'
import "normalize.css"
import { createApp } from 'vue'
import App from './App.vue'
const app = createApp(App)
// 引入配置好的i8n
import i18n from './i18n'
//引入mock并执行
import './mock'
import router from './router'
import store from './store'


import * as ElementPlusIconsVue from '@element-plus/icons-vue'
//引入通用分页表格组件
import CmTable from "@/components/CmTable.vue";

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
  }

  app.component(CmTable.name, CmTable);
app.use(router)  
app.use(store)
app.use(i18n)
app.mount('#app')



